package polymorphism;

public class Man extends Person{
    boolean isSmoking;

    int id = 1002;

    public void eat(){
        System.out.println("男人多吃肉，长肌肉");
    }

    public void earnMoney(){
        System.out.println("男人要努力赚钱养家");
    }

    public void walk(){
        System.out.println("男人");
    }
}
